package com.xiyu.service.errorCode.market;

import com.xiyu.service.framework.exception.ErrorCode;

/**
* marketSetting 错误码枚举类
*
* marketSetting 营销设置，使用 1007002000段
*/
public interface MarketSettingErrorCode {
    Integer ERROR_CODE_START_CODE = 1007002000;

    ErrorCode MARKET_SETTING_DOMAIN_NOT_EXIST = new ErrorCode(ERROR_CODE_START_CODE + 1, "发信域名不存在");
    ErrorCode MARKET_SETTING_SENDER_NOT_EXIST = new ErrorCode(ERROR_CODE_START_CODE + 2, "营销发件人设置不存在");
    ErrorCode MARKET_SETTING_REPLY_NOT_EXIST = new ErrorCode(ERROR_CODE_START_CODE + 3, "营销回复人设置不存在");
    ErrorCode MARKET_SETTING_DOMAIN_SAME = new ErrorCode(ERROR_CODE_START_CODE + 4, "已存在相同域名的发信域名");
    ErrorCode MARKET_SETTING_SENDER_SAME = new ErrorCode(ERROR_CODE_START_CODE + 5, "已存在相同发件人地址的发件人");
    ErrorCode MARKET_SETTING_REPLY_SAME = new ErrorCode(ERROR_CODE_START_CODE + 6, "已存在相同回复人地址的回复人");
    ErrorCode MARKET_SETTING_CREATE_WEBHOOK_ERROR = new ErrorCode(ERROR_CODE_START_CODE + 7, "创建webhook出现未知错误：{}");
}